package com.msmall.base.rms.po;

import java.io.Serializable;

public class Module implements Serializable {

	private static final long serialVersionUID = 6183960022844739207L;

	/**
	 * 所有模块的顶级节点
	 */
	public static final int TOP_LEVEL_ID = 0;
	
	public static final int TYPE_MODULE = 1;
	public static final int TYPE_FUNCTION = 2;
	public static final int TYPE_HELPER = 3;
	
	private Integer id;
	
	private String moduleName;
	
	private String remark;
	
	private String url;

	/**
	 * 父模块
	 */
	private Integer parentid;
	/**
	 * 类型：1模块(显示在树结构中) 2功能点(例如：增加，删除..)   3：辅助节点
	 */
	private Integer type;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getParentid() {
		return parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
